/**symbol独一无二 */
/* let s = Symbol()
console.log(typeof s);
let s2 = Symbol()
console.log(s == s2);
let s3 = Symbol('foo')
let s4 = Symbol('foo')
console.log(s3==s4); */
/* let obj={
    name:"杨妍",
    age:17
} */
const o=require("./2.js")
console.log(o);
let newObj={
    ...o,
    name:'ysw'//不允许同名的字符串的key
}
console.log(newObj);